package com.hl.service;

import com.hl.mapper.Hotcourse;
import com.hl.pojo.Courses;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HotcourseServiceImpl implements HotcourseService {
    @Autowired
    private Hotcourse hotcourse;
    @Override
    public List<Courses> hotCourses() {
        return hotcourse.selectHotcourse();
    }
}
